package com.tbit.uqbike.service.business;

import com.tbit.uqbike.object.pojo.RefundOpeLog;
import com.tbit.uqbike.object.pojo.statistics.ExportRefundOpeLog;

import java.util.List;
import java.util.Map;

/**
 * 退款记录(RefundOpeLog)表服务接口
 *
 * @author jing
 * @since 2020-11-20 15:47:22
 */
public interface RefundOpeLogService {

    /**
     * 通过ID查询单条数据
     *
     * @param accountId 主键
     * @return 实例对象
     */
    RefundOpeLog queryById(Integer accountId);

    /**
     * 查询多条数据
     *
     * @param offset 查询起始位置
     * @param limit  查询条数
     * @return 对象列表
     */
    List<RefundOpeLog> queryAllByLimit(int offset, int limit);

    /**
     * 新增数据
     *
     * @param RefundOpeLog 实例对象
     * @return 实例对象
     */
    RefundOpeLog insert(RefundOpeLog RefundOpeLog);

    /**
     * 修改数据
     *
     * @param RefundOpeLog 实例对象
     * @return 实例对象
     */
    RefundOpeLog update(RefundOpeLog RefundOpeLog);

    /**
     * 通过主键删除数据
     *
     * @param accountId 主键
     * @return 是否成功
     */
    boolean deleteById(Integer accountId);

    List<RefundOpeLog> queryPage(RefundOpeLog RefundOpeLog);

    Integer queryCount(RefundOpeLog RefundOpeLog);

    List<ExportRefundOpeLog> export(RefundOpeLog RefundOpeLog);

    List<Map<String, Object>> queryByTime(RefundOpeLog RefundOpeLog);
}